package cn.ks.feign;


import cn.ks.domain.Purchase;
import cn.ks.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "service-purchase")
public interface CgService {
     @PostMapping("/purchase/save")
     JSONResult saveOrUpdate(@RequestBody Purchase purchase);
}
